#include "thread_pool.hpp"
#include <mysql/mysql.h>
#define STR_LEN 10
int sql_connect(MYSQL **conn);
int find_name(MYSQL *conn, char *name, char *salt);
void get_salt(char *str);
void add_user(MYSQL *conn, char *name, char *salt, char *mima);
int math_user(MYSQL *conn, char *name, char *password, char *token);